package control;

import java.util.ArrayList;

import model.Installation;
import db.DBInstallation;

public class CtrInstallation
{
	private DBInstallation iDb;
	public CtrInstallation()
	{
		this.iDb = new DBInstallation();
	}
	
	public ArrayList<Installation> getByApartmentId(int apartmentId)
	{
		return this.iDb.getByApartmentId(apartmentId);
	}
	public Installation buildInstallation(int installationId)
	{
		return new Installation(installationId);
	}
}
